<!--#include file="common_head.html"-->
<div class="uk-container">
    <ul class="uk-breadcrumb dux-page-crumb">
        <li><a href="/">首页</a></li>
        <!--loop{$pageInfo.crumb as $vo}-->
        <li><a href="{$vo.url}">{$vo.name}</a></li>
        <!--{/loop}-->
    </ul>

    <div class="uk-grid dux-shop-layout">
        <div class="uk-width-1-4 ">
            <div class="layout-sidebar">
                <div class="dux-page-box">
                    <div class="box-title box-title-b">商品信息</div>

                    <ul class="dux-shop-sidebar">
                        <li class="dux-shop-item">
                            <div class="img">
                                <a href="{$info.url}"><img src="{$info.image}"></a>
                            </div>
                            <div class="title"><a href="{$info.url}">{$info.title}</a></div>
                            <div class="price">
                                ￥{$info.sell_price}
                            </div>
                            <div>
                                <a href="{$info.url}" class="uk-button uk-button-primary">查看详情</a>
                            </div>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
        <div class="uk-width-3-4">
            <div class="layout-body">
                <div class="dux-ask-info uk-clearfix">
                    <div class="btn">
                        <button class="uk-button uk-button-primary"><i class="am-icon-comment-o"></i> 咨询商品</button>
                    </div>
                    <div class="info">
                        因厂家更改产品包装、产地或者更换随机附件等没有任何提前通知，且每位咨询者购买情况、提问时间等不同，为此以下回复仅对提问者3天内有效，其他网友仅供参考！若由此给您带来不便请多多谅解，谢谢！
                    </div>
                </div>

                <div class="dux-ask-list dux-comment-list ">

                        <!--if{empty($pageList)}-->
                        <div class="uk-padding uk-text-center">
                            暂无商品咨询
                        </div>
                        <!--{/if}-->
                    <ul class="list-items">

                        <!--loop{$pageList as $vo}-->
                        <li class="uk-clearfix">
                            <div class="user">
                                <div class="img">
                                    <img src="{$vo.user_avatar}"
                                         alt="">
                                </div>
                                <div class="name">{hide_str($vo.show_name, 3,4,4)}</div>
                            </div>
                            <div class="body">
                                <div><span class="time">{date('Y-m-d H:i', $vo.time)}</span></div>
                                <div class="content">
                                    {$vo.content}
                                </div>
                                <!--if{$vo.reply}-->
                                <div class="reply">回复：{$vo.reply}</div>
                                <!--{/if}-->
                            </div>
                        </li>
                        <!--{/loop}-->
                    </ul>


                </div>


                <div class="dux-page-pager am-margin-top">
                    {$page}
                </div>

                <br>
                <form class="dux-ask-form uk-form uk-margin-top" data-dux="form-bind" data-advanced="false"
                      method="post" action="{url('mall/mall/addFaq')}">
                    <div class="uk-form-group">
                                <textarea class="uk-textarea" name="content"
                                          placeholder="请填写您对本商品的咨询问题，客服人员将会为您解答，限100个字内"
                                          rows="3"></textarea>
                    </div>
                    <input type="hidden" name="mall_id" value="{$info.mall_id}">
                    <button type="submit" class="uk-button uk-button-primary">提交咨询</button>
                </form>

            </div>
        </div>
    </div>
</div>

<!--#include file="common_footer.html"-->
</html>